<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<div>
    <p th:inline="text">Hello <span sec:authentication="name"></span></p>
    <form th:action="@{/logout}" method="post">
        <input type="submit" value="登出"/>
    </form>
</div>
<ul>
    <li>
        <a th:href="@{/normal}">普通电影</a>
    </li>
    <li>
        <a th:href="@{/vip}">VIP电影</a>
    </li>
</ul>
</body>
</html>